{!capture name='left'!}
	<h2>大家最近关注的菜谱</h2>
	<div id="top_recipe">
	<a href="/recipe/{!$topRecipe.recipeId!}"><img src="/static/picture/recipe/{!$topRecipe.recipeId!}_subbig" class="food_img2" align="left"/></if>
	<a href="/recipe/{!$topRecipe.recipeId!}" class="b">{!$topRecipe.name!}</a><br/>
	时间：{!$topRecipe.costTime!}<br/>
	<p>{!$topRecipe.description!}</p>
	<span class="g1">标签：</span>{!foreach from=$topRecipe.tagList item=tag!}<a href="/tag/{!$tag!}">{!$tag!}</a>&nbsp;{!/foreach!}<br/>
	<span class="g1">{!$topRecipe.favNum!}收藏 | {!$topRecipe.doneNum!}做过</span>
	</div>
	<ul class="u h">
	{!foreach from=$recipeList item=recipe name=fr_recipe!}
	{!include file="part/recipe2.tpl" last=$smarty.foreach.fr_recipe.last!}
	{!/foreach!}
	</ul>
	<div class="clr"></div>
	<br/>
	<h2>最新添加的菜谱</h2>
	<ul class="u h">
	{!foreach from=$recipeList2 item=recipe name=fr_recipe!}
	{!include file="part/recipe2.tpl" last=$smarty.foreach.fr_recipe.last!}
	{!/foreach!}
	</ul>
	<div class="clr"></div>
	<br/>
	<h2>最新添加的菜谱</h2>
	<ul class="u list ul_food">
	{!foreach from=$foodList item=food!}
	{!include file="part/food.tpl"!}
	{!/foreach!}
	</ul>
{!/capture!}

{!capture name='right'!}
	<h2>看看大家最近都在干什么</h2>
	<ul class="u list ul_people">
	{!foreach from=$eventList item=event name="fe_event"!}
	<li {!if !$smarty.foreach.fe_event.last!}class="dl"{!/if!}>
		<div class="l">
			<a href="/people/{!$event.actorId!}" class="l"><img src="/static/picture/people/{!$event.actorId!}" alt="{!$event.actorName!}" class="people_img"/></a>
		</div>
		<p class="r">
			<a href="/people/{!$event.actorId!}">{!$event.actorName!}</a> <span class="g">{!$event.createTime!}前</span><br/>
			{!$event.desc!}
		</p>
	</li>
	{!/foreach!}
	</ul>
	
	<h2>热门标签</h2>
	<p>
	{!foreach from=$tagList item=tag!}
	<a href="/tag/{!$tag.name!}" class="tag">{!$tag.name!}</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	{!/foreach!}
	</p>
{!/capture!}

{!include file='layouts/default.tpl'!}